//
//  AppDelegate.h
//  WhatToEat
//
//  Created by Mac on 15/3/18.
//  Copyright (c) 2015年 Mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDMenuController.h"
#import "ConstansCode.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property(nonatomic) BOOL isToRoot;


//侧栏
@property (strong,nonatomic)DDMenuController *ddVc;

@property (strong,nonatomic)UIViewController *rootVc;
@property (strong,nonatomic)UIViewController *leftVC;
@property (strong,nonatomic)UIViewController * myVc;



//用户信息
@property (strong,nonatomic)NSString *userId;
@property (strong,nonatomic)NSString * useName;
@property (strong,nonatomic)NSString *headImage;
@property (strong,nonatomic)NSMutableDictionary *userDictionary;
@property(nonatomic,strong)NSMutableArray * tabooFoods;
@property(nonatomic,strong)NSMutableArray * myTabooFoods;
@property(nonatomic,strong)NSDictionary * melDict;


#pragma mark-----上传菜谱到服务器
-(void)sendMealWithMeals:(NSMutableArray *)meal andMealType:(NSString *)mealType andAty_level:(NSString *)aty_level;
@end

